﻿namespace SL651Center2.x.Enums
{
    /// <summary>
    /// 人工置数
    /// </summary>
    public class ManualEntryInfo
    {
        /// <summary>
        /// 获取人工置数信息
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public static (string name, string unit) GetInfo(string name)
        {
            return name switch
            {
                "AC" => ("断面面积", "㎡"),
                "AD" => ("日平均气温", "℃"),
                "ADM" => ("日最高气温", "℃"),
                "ADN" => ("日最低气温", "℃"),
                "AI" => ("瞬时气温", "℃"),
                "AS" => ("面积测法", ""),
                "C" => ("瞬时水温", "℃"),
                "CD" => ("日平均气温", "℃"),
                "DT" => ("时段长，降水、引排水、抽水历时", "h.min"),
                "ED" => ("日蒸发量", "mm"),
                "EM" => ("月蒸发量", "mm"),
                "ES" => ("蒸发器（皿）型号", ""),
                "EX" => ("旬蒸发量", "mm"),
                "FDT" => ("预计发布时间", ""),
                "FDZ" => ("风暴潮增水", ""),
                "FL" => ("气压", "100Pa"),
                "FST" => ("预计发布单位", ""),
                "FTD" => ("水情发生日", ""),
                "GH" => ("闸坝、水库闸门开启高度", "m"),
                "GN" => ("输水设备、闸门（组）编号", ""),
                "GS" => ("输水设备类别", ""),
                "GT" => ("水库、闸坝闸门开启孔数", "孔"),
                "H" => ("地下水瞬时埋深", "m"),
                "HD" => ("地下水日平均埋深", "m"),
                "HM" => ("地下水月平均埋深", "m"),
                "HMM" => ("地下水月最大埋深", "m"),
                "HMN" => ("地下水月最小埋深", "m"),
                "HS" => ("水流特征", ""),
                "HW" => ("波浪高度", "m"),
                "HX" => ("地下水旬平均埋深", "m"),
                "HXM" => ("地下水旬最大埋深", ""),
                "HXN" => ("地下水旬最小埋深", ""),
                "IAT" => ("断面平均冰厚", "cm"),
                "IBL" => ("岸冰左岸宽度", ""),
                "IBR" => ("岸冰右岸宽度", ""),
                "IBT" => ("岸冰平均厚度", "cm"),
                "ICD" => ("定性冰情距离", "km"),
                "ICP" => ("定性冰情位置", ""),
                "IDD" => ("冰坝距离", "km"),
                "IDH" => ("冰坝高度", "m"),
                "IDI" => ("冰坝上游水位高程标志", ""),
                "IDP" => ("冰坝位置", ""),
                "IDT" => ("冰坝发展趋势", ""),
                "IDU" => ("冰坝上游水位趋势", ""),
                "IDW" => ("冰坝宽度", "m"),
                "IDZ" => ("冰坝上游水位", "m"),
                "IFD" => ("封冻距离", "km"),
                "IFP" => ("封冻位置", ""),
                "IFQ" => ("封冻性质", ""),
                "IGD" => ("解冻距离", "km"),
                "IGP" => ("解冻位置", ""),
                "IGQ" => ("解冻性质", ""),
                "IP" => ("冰情现象代码", ""),
                "IPD" => ("流冰堆积距离", "km"),
                "IPP" => ("流冰堆积位置", ""),
                "IPW" => ("流冰堆积宽度", ""),
                "IPA" => ("最大冰块面积", "㎡"),
                "IRD" => ("流冰或流冰花密度", ""),
                "IRQ" => ("流冰量", "m³/s"),
                "IRQD" => ("日平均流冰量", "m³/s"),
                "IRT" => ("流冰平均厚度", "cm"),
                "IRV" => ("最大冰块流速", "m/s"),
                "ISH" => ("冰上积雪深度", "cm"),
                "IST" => ("冰下冰花厚", "cm"),
                "M10" => ("10厘米处土壤含水量", "%"),
                "M20" => ("20厘米处土壤含水量", "%"),
                "M30" => ("30厘米处土壤含水量", "%"),
                "M40" => ("40厘米处土壤含水量", "%"),
                "M60" => ("60厘米处土壤含水量", "%"),
                "M80" => ("80厘米处土壤含水量", "%"),
                "M100" => ("100厘米处土壤含水量", "%"),
                "MA" => ("垂线平均土壤含水量", "%"),
                "MG" => ("作物生长期", ""),
                "MK" => ("作物种类", ""),
                "MM" => ("土壤含水量测法", ""),
                "MS" => ("作物水分状态", ""),
                "NPD" => ("日排潮次", ""),
                "NPM" => ("月排潮次", ""),
                "NPX" => ("旬排潮次", ""),
                "NRD" => ("日引潮次", ""),
                "NRM" => ("月引潮次", ""),
                "NRX" => ("旬引潮次", ""),
                "NS" => ("开机台数", ""),
                "P1" => ("1小时时段降水量", "mm"),
                "P2" => ("2小时时段降水量", "mm"),
                "P3" => ("3小时时段降水量", "mm"),
                "P6" => ("6小时时段降水量", "mm"),
                "P12" => ("12小时时段降水量", "mm"),
                "PD" => ("日降水量", "mm"),
                "PHD" => ("雹粒直径", "mm"),
                "PHT" => ("降雹历时", "h.min"),
                "PM" => ("月降水量", "mm"),
                "PN01" => ("1分时段降水量", "mm"),
                "PN05" => ("5分时段降水量", "mm"),
                "PN10" => ("10分时段降水量", "mm"),
                "PN30" => ("30分时段降水量", "mm"),
                "PR" => ("暴雨量", "mm"),
                "PSD" => ("积雪密度", "g/cm³"),
                "PSH" => ("积雪深度", "cm"),
                "PX" => ("旬降水量", "mm"),
                "Q" => ("瞬时流量、抽水流量", "m³/s"),
                "QA" => ("总出库流量、过闸总流量", "m³/s"),
                "QAD" => ("日平均总出库流量", "m³/s"),
                "QAM" => ("月平均总出库流量", "m³/s"),
                "QAMM" => ("月最大总出库流量", "m³/s"),
                "QAMN" => ("月最小总出库流量", "m³/s"),
                "QAX" => ("旬平均总出库流量", "m³/s"),
                "QAXM" => ("旬最大总出库流量", "m³/s"),
                "QAXN" => ("旬最小总出库流量", "m³/s"),
                "QD" => ("河道、闸坝日平均流量，泵站日平均抽水流量", "m³/s"),
                "QI" => ("入库流量", "m³/s"),
                "QID" => ("日平均入库流量", "m³/s"),
                "QIM" => ("月平均入库流量", "m³/s"),
                "QIMM" => ("月最大入库流量", "m³/s"),
                "QIMN" => ("月最小入库流量", "m³/s"),
                "QIX" => ("旬平均入库流量", "m³/s"),
                "QIXM" => ("旬最大入库流量", "m³/s"),
                "QIXN" => ("旬最小入库流量", "m³/s"),
                "QM" => ("河道、闸坝月平均流量，泵站月平均抽水流量", "m³/s"),
                "QMM" => ("河道、闸坝月最大流量，泵站月最大抽水流量", "m³/s"),
                "QMN" => ("河道、闸坝月最小流量，泵站月最小抽水流量", "m³/s"),
                "QS" => ("河道、水库、闸坝流量测法", "m³/s"),
                "QX" => ("河道、闸坝旬平均流量，泵站旬平均抽水流量", "m³/s"),
                "QXM" => ("河道、闸坝旬最大流量，泵站旬最大抽水流量", "m³/s"),
                "QXN" => ("河道、闸坝旬最小流量，泵站旬最小抽水流量", "m³/s"),
                "QZ" => ("输水设备流量、过闸（组）流量", "m³/s"),
                "RW" => ("径流量", "m³/s"),
                "RWD" => ("日径流总量", "m³/s"),
                "RWM" => ("月径流总量", "m³/s"),
                "RWX" => ("旬径流总量", "m³/s"),
                "SD" => ("日平均含沙量", "kg/m³"),
                "SDS" => ("日平均含沙量测算方法", ""),
                "SM" => ("沙峰", ""),
                "SMS" => ("沙峰测算方法", ""),
                "SQ" => ("含沙量", "kg/m³"),
                "SQS" => ("含沙量测算方法", ""),
                "ST" => ("测站编码引导符", ""),
                "SW" => ("输沙量", "万t"),
                "SWD" => ("日输沙总量", "万t"),
                "SWM" => ("月输沙总量", "万t"),
                "SWX" => ("旬输沙总量", "万t"),
                "TEM" => ("最大风力（速）发生时间", ""),
                "TM" => ("河道、水库、闸坝、泵站极值发生时间，高、低潮发生时间", ""),
                "TT" => ("观测时间引导符", ""),
                "UC" => ("风向", ""),
                "UE" => ("风力（级）", ""),
                "UEM" => ("最大风力（级）", ""),
                "US" => ("风速", "m/s"),
                "USM" => ("最大风速", "m/s"),
                "VA" => ("断面平均流速", "m/s"),
                "VM" => ("断面最大流速", "m/s"),
                "VS" => ("流速测法", ""),
                "W" => ("蓄水量", "百万m³"),
                "WD" => ("日平均蓄水量", "百万m³"),
                "WM" => ("月平均蓄水量", "百万m³"),
                "WMM" => ("月最大蓄水量", "百万m³"),
                "WMN" => ("月最小蓄水量", "百万m³"),
                "WPD" => ("日排水量", "m³"),
                "WPM" => ("月排水量", "m³"),
                "WPX" => ("旬排水量", "m³"),
                "WRD" => ("日引水量", "m³"),
                "WRM" => ("月引水量", "m³"),
                "WRX" => ("旬引水量", "m³"),
                "WS" => ("天气状况", ""),
                "WX" => ("旬平均蓄水量", "百万m³"),
                "WXM" => ("旬最大蓄水量", "百万m³"),
                "WXN" => ("旬最小蓄水量", "百万m³"),
                "Z" => ("瞬时河道水位、潮位", "m"),
                "ZB" => ("库（闸、站）下水位", "m"),
                "ZBD" => ("库（闸、站）下日平均水位", "m"),
                "ZBM" => ("库（闸、站）下月平均水位", "m"),
                "ZBMM" => ("库（闸、站）下月最高水位", "m"),
                "ZBMN" => ("库（闸、站）下月最低水位", "m"),
                "ZBX" => ("库（闸、站）下旬平均水位", "m"),
                "ZBXM" => ("库（闸、站）下旬最高水位", "m"),
                "ZBXN" => ("库（闸、站）下旬最低水位", "m"),
                "ZD" => ("日平均水位", "m"),
                "ZH" => ("高潮位", "m"),
                "ZHD" => ("日平均高潮位", "m"),
                "ZHH" => ("高高潮位", "m"),
                "ZHL" => ("低高潮位", "m"),
                "ZHM" => ("月平均高潮位", "m"),
                "ZHX" => ("旬平均高潮位", "m"),
                "ZL" => ("低潮位", "m"),
                "ZLD" => ("日平均低潮位", "m"),
                "ZLH" => ("高低潮位", "m"),
                "ZLL" => ("低低潮位", "m"),
                "ZLM" => ("月平均低潮位", "m"),
                "ZLX" => ("旬平均低潮位", "m"),
                "ZM" => ("月平均水位", "m"),
                "ZMM" => ("月最高水位、潮位", "m"),
                "ZMN" => ("月最低水位、潮位", "m"),
                "ZS" => ("水势状态", "m"),
                "ZU" => ("库（闸、站）上水位", "m"),
                "ZUD" => ("库（闸、站）上日平均水位", "m"),
                "ZUM" => ("库（闸、站）上月平均水位", "m"),
                "ZUMM" => ("库（闸、站）上月最高水位", "m"),
                "ZUMN" => ("库（闸、站）上月最低水位", "m"),
                "ZUX" => ("库（闸、站）上旬平均水位", "m"),
                "ZUXM" => ("库（闸、站）上旬最高水位", "m"),
                "ZUXN" => ("库（闸、站）上旬最低水位", "m"),
                "ZX" => ("旬平均水位", "m"),
                "ZXM" => ("旬最高水位、潮位", "m"),
                "ZXN" => ("旬最低水位、潮位", "m"),
                _ => ("", ""),
            };
        }

    }
}
